import javax.swing.*;
import java.awt.*;
import java.text.*;
import java.util.*;

public interface ClientInterface
{
	//for client configuration
	JTextField clientconf = new JTextField();
	JTextField clientip = new JTextField();
	
	
    public Dimension dim = Toolkit.getDefaultToolkit().getScreenSize();
    public JDesktopPane desktop = new JDesktopPane(); 
    public boolean open = false;
    public  String passwd = "";
    
    public JMenu filemenu = new JMenu("File"); 
    public JMenu exammenu = new JMenu("Examination"); 
    public JMenu votemenu = new JMenu("Vote"); 
    public JMenu helpmenu = new JMenu("Help");
    public JMenuBar menuBar1 = new JMenuBar();
    
    public JMenuItem menuItemhelp1 = new JMenuItem("Help Contents...", new ImageIcon("help.gif"));
    public JMenuItem menuItemhelp3 = new JMenuItem("About Me...", new ImageIcon("about.gif"));
    
    public JMenuItem menuItem3 = new JMenuItem("Login...", new ImageIcon("login.gif"));
    public JMenuItem menuItem6 = new JMenuItem("Logoff...", new ImageIcon("logout.gif"));
    public JMenuItem menuItem5 = new JMenuItem("Exit...", new ImageIcon("quit.gif"));
    
    
    public JMenuItem ExamItem1 = new JMenuItem("Lab Exam");
    public JMenuItem ExamItem2 = new JMenuItem("MCQ Test");
    
    public JMenuItem VoteItem1 = new JMenuItem("Vote--y/n");
    public JMenuItem VoteItem2 = new JMenuItem("Vote--Selection");
    public UIManager.LookAndFeelInfo looks[] = UIManager.getInstalledLookAndFeels();
    
    
    public JTextArea tar1 = new JTextArea(10,10);
    public int v2 = ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED;
    public int h2 = ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED;
    public JScrollPane jsp3 = new JScrollPane(tar1,v2,h2);
    public JLabel lab1 = new JLabel("Exam Time Remaining :",JLabel.LEFT);
    public JLabel lab2 = new JLabel("",JLabel.LEFT);
    public JLabel lab2ex = new JLabel("min",JLabel.LEFT);
    
    public JLabel lab3 = new JLabel("Submit Time Remaining :",JLabel.LEFT);
    public JLabel lab4 = new JLabel("",JLabel.LEFT);
    public JLabel lab4ex = new JLabel("min",JLabel.LEFT);
    
    public JLabel lab5 = new JLabel("You Have to Send ",JLabel.LEFT);
    public JLabel lab6 = new JLabel("",JLabel.CENTER);
    public JLabel lab7 = new JLabel("answer files to the Server",JLabel.LEFT);
    
    public JLabel lab8 = new JLabel("",JLabel.CENTER);
    public JTextField taf1 = new JTextField(20);
    public JButton bt1 = new JButton("Browse");
    public JButton bt2 = new JButton("Send");
    public JLabel lab9 = new JLabel("Roll No :",JLabel.LEFT);
    public JLabel lab10 = new JLabel("",JLabel.LEFT);
    
    public JTextArea taxnull  = new JTextArea(100,100);
    public JLabel ttop = new JLabel("");
    
    //objects for MCQ test..
    
    public JLabel lab12 = new JLabel("Your Roll No :");
    public JLabel lab13 = new JLabel("",JLabel.LEFT);
    public JLabel lab14 = new JLabel("Total Questions :");
    public JLabel lab15 = new JLabel("");
    public JLabel lab16 = new JLabel("Time remaining(min) :");
    public JLabel lab17 = new JLabel("");
    public JLabel lab18 = new JLabel("Question No :");
    public JLabel lab19 = new JLabel("",JLabel.LEFT);
    public JTextArea txa5 = new JTextArea(10,10);
    public int v5 = ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED;
    public int h5 = ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED;
    public JScrollPane jsp5 = new JScrollPane(txa5,v5,h5);
    public JRadioButton abutt = new JRadioButton("A",false);
    public JRadioButton bbutt = new JRadioButton("B",false);
    public JRadioButton cbutt = new JRadioButton("C",false);
    public JRadioButton dbutt = new JRadioButton("D",false);
    public ButtonGroup btgroup = new ButtonGroup();
    public JTextField afield = new JTextField(10);
    public JTextField bfield = new JTextField(10);
    public JTextField cfield = new JTextField(10);
    public JTextField dfield = new JTextField(10);			
    public JButton bt4 = new JButton("Next>>");
    public JButton bt5 = new JButton("Result");
    public JLabel lab20 = new JLabel("Total Question was :");
    public JLabel lab21 = new JLabel("",JLabel.LEFT);
    public JLabel lab22 = new JLabel("You Have rightly answered :");
    public JLabel lab23 = new JLabel("",JLabel.LEFT);
    
    
    
    public JLabel lab25 = new JLabel("Your Voter_ID :");
    public JTextField taf10 = new JTextField(10);
    public JButton bt7 = new JButton("Ok");
    public JLabel lab27 = new JLabel("Vote Question :");
    public JTextArea txa6 = new JTextArea(10,10);
    public int v6 = ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED;
    public int h6 = ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED;
    public JScrollPane jsp6 = new JScrollPane(txa6,v6,h6);
    public JRadioButton yesbutt = new JRadioButton("YES",false);
    public JRadioButton nobutt = new JRadioButton("NO",false);
     public ButtonGroup btyn = new ButtonGroup();
    public JButton bt12 = new JButton("Submit");
    
    
    public JLabel lab26 = new JLabel("Your Voter_ID :");
    public JTextField taf11 = new JTextField(10);
    public JButton bt8 = new JButton("Ok");
    public JLabel lab28 = new JLabel("Vote Subject :");
    public JTextArea txa7 = new JTextArea(10,10);
    public int v7 = ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED;
    public int h7 = ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED;
    public JScrollPane jsp7 = new JScrollPane(txa7,v7,h7);
    public JRadioButton butt1 = new JRadioButton("1",false);
    public JRadioButton butt2 = new JRadioButton("2",false);
    public JRadioButton butt3 = new JRadioButton("3",false);
    public JRadioButton butt4 = new JRadioButton("4",false);
    public ButtonGroup btall = new ButtonGroup();
    public JTextField fielda = new JTextField(10);
    public JTextField fieldb = new JTextField(10);
    public JTextField fieldc = new JTextField(10);
    public JTextField fieldd = new JTextField(10);
    public JButton bt13 = new JButton("Submit");
}